<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" 
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui"
      >
    <ui:composition template="layout.xhtml">
        <ui:define name="corpo">
            
              <table style="min-height:500px">
                <tr>
                    <td>
                        <h:form acceptcharset="utf-8">
                            <p:messages showDetail="true"  id="messages"  />
                            <p:menu>  
                                <p:submenu label="Adicionais">  
                                    <p:menuitem value="Operações" actionListener="#{managerIndex.redirect('indexOperacao.xhtml')}" icon="ui-icon-disk"/>  
                                    <p:menuitem value="Título" actionListener="#{managerIndex.redirect('indexTitulo.xhtml')}" icon="ui-icon-disk"/>
                                    <p:menuitem value="Livro" actionListener="#{managerIndex.redirect('indexLivro.xhtml')}" icon="ui-icon-disk"/>
                                </p:submenu> 
                                <p:submenu label="Selos">  
                                     <p:menuitem value="Fornecedor" actionListener="#{managerImovel.redirect('indexFornecedor.xhtml')}"  update="@form" icon="ui-icon-document"/>  
                                     <p:menuitem value="Emolumentos" actionListener="#{managerImovel.redirect('indexEmolumento.xhtml')}" icon="ui-icon-person"/> 
                                     <p:menuitem value="Atos" actionListener="#{managerCorSelo.redirect('indexAto.xhtml')}"  update="@form" icon="ui-icon-document"/>  
                                     <p:menuitem value="Cor Selo" actionListener="#{managerCorSelo.redirect('indexCorSelo.xhtml')}" icon="ui-icon-newwin"/> 
                                     <p:menuitem value="Tipo Selo" actionListener="#{managerTipoSelo.redirect('indexTipoSelo.xhtml')}" icon="ui-icon-calculator"/>  
                                 </p:submenu>  
                                <p:submenu label="Fermojupi">  
                                     <p:menuitem value="Sincronizar" actionListener="#{managerImovel.redirect('emolumentotj.xhtml')}"  update="@form" icon="ui-icon-refresh"/>  
                                     <p:menuitem value="Solicitar" actionListener="#{managerImovel.redirect('solicitarSelo.xhtml')}" icon="ui-icon-extlink"/> 
                                     <p:menuitem value="Relatórios" actionListener="#{managerCorSelo.redirect('indexAto.xhtml')}"  update="@form" icon="ui-icon-clipboard"/>  
                                </p:submenu>
                                 <p:submenu label="Administrador">  
                                     <p:menuitem value="Cartório" actionListener="#{managerImovel.redirect('indexCartorio.xhtml')}"  update="@form" icon="ui-icon-person"/>  
                                     <p:menuitem value="Usuário" actionListener="#{managerImovel.redirect('criarAcesso.xhtml')}" icon="ui-icon-person"/>  
                                     <p:menuitem value="Estoque Selo" actionListener="#{managerTipoSelo.redirect('estoqueSelo.xhtml')}" icon="ui-icon-clipboard"/>  
                                 </p:submenu>
                                 
                            </p:menu>  
                        </h:form>
                    </td>
                    <td >
                        
                    </td>
                </tr>
            </table>
        </ui:define>
    </ui:composition>
</html>
